====== Synchronisation Evolution - N70 par bluetooth ======

=== Prérequis: ===

[[apt://multisync-tools opensync-plugin-evolution opensync-plugin-syncml libsyncml-utils]]

<code>msynctool --listplugins</code>
Doit vous rendre au moins:
<code>Available options:
  syncml-http-server
  syncml-obex-client
  evo2-sync</code>

=== Création du groupe et des utilisateurs ===

== Création du groupe ==
<code>msynctool --addgroup "Nom_du_groupe"</code>

== Création des utilisateurs ==
<code>msynctool --addmember "Nom_du_groupe" evo2-sync
msynctool --addmember "Nom_du_groupe" syncml-obex-client</code>

=== Configuration des utilisateurs ===

<code>export EDITOR=gedit && msynctool --configure nokia-evo 2</code>

Et là, c'est du xml bien laid mais on va faire avec:

<note><?xml version="1.0"?>

<!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is selected -->
<bluetooth_address>00:19:2D:19:EA:47</bluetooth_address>

<!-- (Only for bluetooth) The bluetooth channel to use. `sdptool browse $MAC` to search for the correct channel -->
<bluetooth_channel>11</bluetooth_channel>

<!-- (Only for USB) The usb interface number of the SYNCML-SYNC target. use syncml-obex-client -u (you will need access to the USB raw device) to find it. -->
<interface>0</interface>

<!-- The string that the plugin will use to identify itself. Some devices need a special string here. -->
<identifier>PC Suite</identifier>

<!-- The syncml version to use: 0 for 1.0, 1 for 1.1 and 2 for 1.2 -->
<version>1</version>

<!-- if the plugin should use wbxml -->
<wbxml>1</wbxml>

<!-- The username to use. Leave empty to not require a username -->
<username></username>
  
<!-- the password for the username -->
<password></password>

<!-- sets the connection type to use. 5 means obex over usb, 2 means obex over bluetooth -->
<type>2</type>

<!-- If wbxml is enabled, defines wether the wbxml should use string tables -->
<usestringtable>1</usestringtable>

<!-- Never send ADD command, but send REPLACE (not needed normally) -->
<onlyreplace>0</onlyreplace>

<!-- Workaround around for mobile phones which only use local timestamps and _no_ UTC timestamps! -->
<onlyLocaltime>0</onlyLocaltime>

<!-- Sets the maximum allowed size in bytes of incoming messages (some device need this option set). Example: 10000 -->
<recvLimit>10000</recvLimit>

<maxObjSize>10000</maxObjSize>

<!-- The name of the contacts db. Must be the same as the phones sends -->
<contact_db>Contacts</contact_db>

<!-- The name of the calendar db. Must be the same as the phones sends -->
<calendar_db>Calendar</calendar_db>

<!-- The name of the note db. Must be the same as the phones sends -->
<note_db>Notes</note_db>
</note>